package com.liu.pojo;

import java.sql.Date;

/**
 * @Author 老刘Matthew
 * @Timestamp 2022/7/11 12:36
 * @Description
 */
public class User extends Bean {

    // 会员编号，主键自增
    private Integer user_id;

    // 登录名
    private String user_name;

    // 密码
    private String pwd;

    // 邮箱
    private String email;

    // 性别
    private String sex;

    // 头像地址
    private String photo;

    // 积分点数
    private Integer user_code = 10;

    // 账户余额
    private Integer user_money = 0;

    // 自我介绍
    private String self_info;

    // 注册时间
    private Date register_time;

    // 会员等级：0-普通会员，1-白金会员
    private Integer grade = 0;

    // qq
    private String qq;

    // 电话
    private String phone;

    public User() {
        //
    }

    /*
     * 构造默认会员
     */
    public User(String user_name, String pwd, String email) {

        setUser_name(user_name);
        setPwd(pwd);
        setEmail(email);
    }

    public String getSelf_info() {
        return self_info;
    }

    public void setSelf_info(String self_info) {
        this.self_info = self_info;
    }

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public String getUser_name() {
        return user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public Integer getUser_code() {
        return user_code;
    }

    public void setUser_code(Integer user_code) {
        this.user_code = user_code;
    }

    public Integer getUser_money() {
        return user_money;
    }

    public void setUser_money(Integer user_money) {
        this.user_money = user_money;
    }

    public Date getRegister_time() {
        return register_time;
    }

    public void setRegister_time(Date register_time) {
        this.register_time = register_time;
    }

    public Integer getGrade() {
        return grade;
    }

    public void setGrade(Integer grade) {
        this.grade = grade;
    }

    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
}
